package com.ruoyi.exam.mapper;

import com.ruoyi.exam.domain.PExamNum;
import com.ruoyi.exam.domain.PExamNumExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PExamNumMapper {
    long countByExample(PExamNumExample example);

    int deleteByExample(PExamNumExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PExamNum record);

    int insertSelective(PExamNum record);

    List<PExamNum> selectByExample(PExamNumExample example);

    PExamNum selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PExamNum record, @Param("example") PExamNumExample example);

    int updateByExample(@Param("record") PExamNum record, @Param("example") PExamNumExample example);

    int updateByPrimaryKeySelective(PExamNum record);

    int updateByPrimaryKey(PExamNum record);

  PExamNum selectRandomOne();

  List<PExamNum> selectAll();

  int deletePExamNumByIds(Long[] ids);
}
